<?php
require_once "Medoo.php";

use Medoo\Medoo;

$database = new Medoo([
    'driver' => 'dblib',
    'database_type' => 'mssql',
    'database_name' => 'NewHGERP',
    'server' => '220.249.185.196:37999',
    'username' => 'SouHua',
    'password' => 'SH2022'
]);

//$connectionInfo = array(
//    "Database"=>"NewHGERP",
//    "UID" => "SouHua",
//    "PWD" => "SH2022",
//);
//try {
//    $conn = sqlsrv_connect("220.249.185.196,37999", $connectionInfo);
//} catch (Exception $e) {
//    print_r(sqlsrv_errors(), true);
//}
